package com.nanjia.boot.product.sku.model.query;

import com.nanjia.boot.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品库存单元(SKU)分页查询对象
 *
 * @author 周洋
 * @since 2025-07-10 14:15
 */
@Schema(description ="商品库存单元(SKU)查询对象")
@Getter
@Setter
public class ProductSkuQuery extends BasePageQuery {

    private Long categoryId;
    private Long skuId;
    private Long brandId;
    @Schema(description = "所属SPU")
    private Long spuId;
    @Schema(description = "SKU编码")
    private String skuCode;
    @Schema(description = "销售价格")
    private BigDecimal price;
    @Schema(description = "成本价")
    private BigDecimal costPrice;
    @Schema(description = "库存数量")
    private Integer stock;
    @Schema(description = "库存预警值")
    private Integer stockThreshold;
    @Schema(description = "条形码")
    private String barCode;
    @Schema(description = "重量(kg)")
    private BigDecimal weight;
    @Schema(description = "体积(L)")
    private BigDecimal volume;
    @Schema(description = "状态")
    private Integer status;
    @Schema(description = "创建时间")
    private List<String> createTime;

    @Schema(description = "计量单位")
    private String skuMeasurement;

    private Long skuRatio;
}
